package com.hellpro.lolbox;

import android.app.Application;

import com.facebook.drawee.backends.pipeline.Fresco;
import com.hellpro.lolbox.utils.OkHttpClientUtils;
import com.umeng.socialize.PlatformConfig;
import com.umeng.socialize.UMShareAPI;

import okhttp3.OkHttpClient;

/**
 * Package_Name:
 * Description :
 * author: HellPermanent
 * date:  2016/10/18 16:18
 * remarks：
 */
public class MyApp  extends Application{
    @Override
    public void onCreate() {
        super.onCreate();
        inception();
        UMShareAPI.get(this);
    }
    {

        PlatformConfig.setWeixin("wx967daebe835fbeac", "5bb696d9ccd75a38c8a0bfe0675559b3");
        PlatformConfig.setSinaWeibo("3921700954", "04b48b094faeb16683c32669824ebdad");
        PlatformConfig.setQQZone("100424468", "c7394704798a158208a74ab60104f0ba");


    }
    private void inception() {
        OkHttpClient okHttpClient = OkHttpClientUtils.getOkHttpSingletonInstance();
        Fresco.initialize(this);
    }

}
